/*
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2022-10-14 12:48:43
 * @LastEditTime: 2022-10-14 12:50:32
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \umijs\src\wrappers\auth.tsx
 * @Description:
 */
import React from 'react'
import { Redirect } from 'umi';

export default function auth() {
    const isLogin = false;
    if (isLogin) {
        return (
            <div>auth</div>
          )
    } else {
        return (<Redirect to='/'/>)
    }
}
